home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_09_08
/
9n08100a
< prev
next >
Wrap
Text File
|
1991-06-04
|
404b
|
13 lines
void main(void)
{
char *test_str = "This is a test string for the parsing function.";
char **ptrarray;
char *string;
int wordcnt,size;
size = strlen(test_str);
wordcnt=wordcount(test_str);
allocate_space(wordcnt,&ptrarray,size,&string);
strcpy(string,test_str);
str_to_ptrarray(string,ptrarray);
}